]> dgit.raspbian.org Git - gnome-shell.git/commit
iconGrid: Stop using Shell.GenericContainer
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 2 Jul 2018 14:03:07 +0000 (11:03 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 9 Oct 2018 01:42:25 +0000 (22:42 -0300)
commit197c0eee2953ca87b3619f32d1291f5fac361e08
treee97598de421c72ae63a813ccd311d33eb8ae70f4
parent034a723677161a845f368c57300991df94af5a54
iconGrid: Stop using Shell.GenericContainer

Removing Shell.GenericContainer from the IconGrid class was
challenging because it needs the "skip paint" API from it.
This API was added, too, as a workaround to the inability
to override vfuncs from GJS.

The overrides are largely copy-pasted and translated versions
of the Shell.GenericContainer code.

The IconGrid:key-focus-in signal was renamed to :child-focused
to avoid clashing with ClutterActor:key-focus-in.

In GridSearchResults, the internal IconGrid had it's y_expand
set to false, so it doesn't push other search elements (the
list results mainly) to the bottom of the screen.

Because skip paint wasn't and still isn't a GObject property,
rename it to _skipPaint to reflect that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/153
js/ui/appDisplay.js
js/ui/iconGrid.js
js/ui/search.js